package com.zhejiangzhengyuan.municipal_common.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author :linju
 * @create on : 2019/11/30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SendCase对象", description="用于派单接受的实体类")
public class SendCase {

    @ApiModelProperty(value = "警报wid")
    @NotNull
    private Long wid;

    @ApiModelProperty(value = "案件cid")
    private Long cid;

    @ApiModelProperty(value = "案件的的处理意见")
    @NotBlank
    private String advice;

    @ApiModelProperty(value = "案件的的等级")
    @NotBlank
    private String grade;

    @ApiModelProperty(value = "案件的的描述")
    @NotBlank
    private  String caseDescribe;

    @ApiModelProperty(value = "警报关联的文件")

    private MultipartFile file;
}
